package com.starbaba.util;

import com.starbaba.tools.SimpleMailSender;

public class SendEmail {
	public static void sendEmail(String ss, String cc, String title, String content) {
		String user = "system@xmiles.cn";
		String passwd = "a1b2c3d4e5";
		SimpleMailSender mailInfo = new SimpleMailSender(user, passwd, "true");
		try {
			java.lang.reflect.Method method = SimpleMailSender.class.getDeclaredMethod("sendHtmlMail", java.lang.String.class);
			method.setAccessible(true);
			method.invoke(mailInfo, ss+"#" + cc + "#" + title + "#" + content);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}